CVE-2025-70085
OpenSatKit Stack Buffer Overflow
Description
An issue was discovered in OpenSatKit 2.2.1. The EventErrStr buffer has a fixed size of 256 bytes. The code uses sprintf to format two filenames (Source1Filename and the string returned by FileUtil_FileStateStr) into this buffer without any length checking and without using bounded format specifiers such as %.*s. If the filename length approaches OS_MAX_PATH_LEN (commonly 64-256 bytes), the combined formatted string together with constant text can exceed 256 bytes, resulting in a stack buffer overflow. Such unsafe sprintf calls are scattered across multiple functions in file.c, including FILE_ConcatenateCmd() and ConcatenateFiles(), all of which fail to validate the output length.
INFO
Published Date :
Feb. 11, 2026, 6:16 p.m.
Last Modified :
Feb. 17, 2026, 3:02 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update OpenSatKit to a patched version.
- Avoid processing overly long filenames.
- Implement input validation for filenames.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-70085.
| URL | Resource |
|---|---|
| https://gist.github.com/jonafk555 | Third Party Advisory |
| https://github.com/OpenSatKit/OpenSatKit | Product |
| https://github.com/OpenSatKit/OpenSatKit/releases/tag/v2.2.1 | Release Notes |
| https://raw.githubusercontent.com/OpenSatKit/OpenSatKit/master/cfs/apps/filemgr/fsw/src/file.c | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-70085 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-70085
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-70085 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-70085 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 17, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:opensatkit:opensatkit:2.2.1:*:*:*:*:*:*:* Added Reference Type MITRE: https://gist.github.com/jonafk555 Types: Third Party Advisory Added Reference Type MITRE: https://github.com/OpenSatKit/OpenSatKit Types: Product Added Reference Type MITRE: https://github.com/OpenSatKit/OpenSatKit/releases/tag/v2.2.1 Types: Release Notes Added Reference Type MITRE: https://raw.githubusercontent.com/OpenSatKit/OpenSatKit/master/cfs/apps/filemgr/fsw/src/file.c Types: Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Feb. 12, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-121 -
New CVE Received by [email protected]
Feb. 11, 2026
Action Type Old Value New Value Added Description An issue was discovered in OpenSatKit 2.2.1. The EventErrStr buffer has a fixed size of 256 bytes. The code uses sprintf to format two filenames (Source1Filename and the string returned by FileUtil_FileStateStr) into this buffer without any length checking and without using bounded format specifiers such as %.*s. If the filename length approaches OS_MAX_PATH_LEN (commonly 64-256 bytes), the combined formatted string together with constant text can exceed 256 bytes, resulting in a stack buffer overflow. Such unsafe sprintf calls are scattered across multiple functions in file.c, including FILE_ConcatenateCmd() and ConcatenateFiles(), all of which fail to validate the output length. Added Reference https://gist.github.com/jonafk555 Added Reference https://github.com/OpenSatKit/OpenSatKit Added Reference https://github.com/OpenSatKit/OpenSatKit/releases/tag/v2.2.1 Added Reference https://raw.githubusercontent.com/OpenSatKit/OpenSatKit/master/cfs/apps/filemgr/fsw/src/file.c